﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace integrationServer
{
    public class Moves
    {
        /// <summary>
        /// this class manage the history of the movement of each board
        /// </summary>
        private int _seq;
        private int _row;
        private int _column;

        public Moves()
        {
        }

        public Moves(int row, int column)
        {
            _seq = _seq+ 1;
            Row = row;
            Column = column;
        }

        #region get and set of History information
        [XmlElement("seq")]
        public int Seq { get { return _seq; }  }
        [XmlElement("row")]
        public int Row { get { return _row; } set { _row = value; } }
        [XmlElement("column")]
        public int Column { get{return _column;} set{_column = value;} }
        #endregion
    }
}
